package com.blb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.blb.entity.Certificate;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ZhengSanNan
 * @since 2019-12-24
 */

public interface ICertificateService extends IService<Certificate> {
    Certificate findUserByCertificate(String certificate);

    void updateToken(String certificate, String token);

    void updateCertificate(String id,String certificate);

    Certificate findPasswordById(String id);
}
